package com.deercrowing.takeaway.vo;

import java.time.LocalDateTime;

public class CategoriesPageVO extends CategoriesVO{
    private Integer page;

    private Integer pageSize;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public CategoriesPageVO(final Integer id, final Short type, final String name, final Short sort, final Short status, final LocalDateTime updateTime, final Integer page, final Integer pageSize){
        this.setId(id);
        this.setType(type);
        this.setName(name);
        this.setSort(sort);
        this.setStatus(status);
        this.setUpdateTime(updateTime);
        this.page = page;
        this.pageSize = pageSize;
    }

    public CategoriesPageVO(){
    }
}
